package com.thoughtworks.trains;

public interface IRouteService {
	
	/**
	 * 获取路线的距离，如果路线不存在，返回NO SUCH ROUTE
	 * @param towns
	 * @return
	 */
	String getDistance(String ... towns);
	int findRouteWithMax(String start,String end,int maxStops);
	String findRouteCountWithExactly(String start,String end,int stops);
	String findShortRoute(String start, String end);
	void findRouteCountLessDis(String start, String end, int maxDis);
	
}
